package ReflectStudy.Exa7;

public class Student {

    private int id;
    private String name;
    private boolean male;
    public double account;

    public Body body;

    
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public boolean isMale() {
        return male;
    }
    
    public void setMale(boolean male) {
        this.male = male;
    }
    
    public double getAccount() {
        return account;
    }
    
    public void setAccount(double account) {
        this.account = account;
    }


    public static class Body {
        String clientNo;
        String loanNo;

        public String getClientNo() {
            return clientNo;
        }

        public void setClientNo(String clientNo) {
            this.clientNo = clientNo;
        }

        public String getLoanNo() {
            return loanNo;
        }

        public void setLoanNo(String loanNo) {
            this.loanNo = loanNo;
        }
    }
    
}
